package Interfaces_EquipAB_Factory;

import Interfaces_EquipAB_Factory_pro.Factory_pro;

public class Test {
    public static void main(String[] args) {

//    实例化
        EquipmentA equipmentA = new EquipmentA();
        Factory factory = new Factory();

//    传入 对象
        factory.setEquipmentA(equipmentA);

//    调用 生产方法
        factory.work();
    }
}
